Removed depth parameter (cloning of shallow copies is only supported starting with git 1.9).
Check for project dir setting instead of username at startup.