check if variables are not None before getting to their attributes i.e. login of NamedUser in intelliGit.py