bugfix: recognize github repos without .git ending

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>