We still need it for empty repo for web UI!
We still need it for empty repo for web UI!

We shouldn't pass a non-existing branch to source_branch.
Checkout test for:

* spec/features/tags/master_views_tags_spec.rb:24
* spec/features/projects/files/project_owner_sees_link_to_create_license_file_in_empty_project_spec.rb:13

dreampet/gitlab,dplarson/gitlabhq,stoplightio/gitlabhq,openwide-java/gitlabhq,LUMC/gitlabhq,darkrasid/gitlabhq,openwide-java/gitlabhq,dplarson/gitlabhq,mmkassem/gitlabhq,htve/GitlabForChinese,htve/GitlabForChinese,iiet/iiet-git,axilleas/gitlabhq,openwide-java/gitlabhq,LUMC/gitlabhq,t-zuehlsdorff/gitlabhq,dreampet/gitlab,dplarson/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,openwide-java/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,t-zuehlsdorff/gitlabhq,LUMC/gitlabhq,LUMC/gitlabhq,htve/GitlabForChinese,htve/GitlabForChinese,iiet/iiet-git,darkrasid/gitlabhq,mmkassem/gitlabhq,darkrasid/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,dplarson/gitlabhq,mmkassem/gitlabhq,t-zuehlsdorff/gitlabhq,darkrasid/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,jirutka/gitlabhq,t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab