Accounting for trailing slashes and .git in project name.