check-unretirement: cleanup and simplify the script.
This commit cleans up some flake8 errors and it also removes
uneeded comments.
It is also simplifying the logic around checking for different
namespace and branch.
Finally it removes the dependency to bs4.
Signed-off-by: Clement Verna <cverna@tutanota.com>