View project pages without master branch
Created by: demelziraptor
Project pages will not show up unless a master branch exists as find_or_first (without a commit id) will look for the first commit on the master branch by default - causing require_non_empty_project to do the redirection, even though the project is not empty. This changes find_or_first (without commit id) to look on the default branch instead.