Fixed issue when repository has a trailing .git or not
Changed log level