Fix finding project name when remote has username:password in uri