Several GitLab users have said that they have to include the .git in
in the URL of their _git_repo variable overrides and then subsequently
override the package name using _git_package_name. Failing to do this
means the repo is cloned with .git in the directory name.
This change updates lookup/py_pkgs.py to strip a trailing newline,
a trailing .git, or a trailing .git/ from _git_repo variables.
Change-Id: I174ab1398be8e180c346ea29fa71238cc3698c45