Fixing server when no git files, not on master
Fixing server when no git files, not on master

Allows server to run even if on another branch than master and/or
in a production scenario without git files available.

jhass/diaspora,Flaburgan/diaspora,spixi/diaspora,despora/diaspora,SuperTux88/diaspora,geraspora/diaspora,geraspora/diaspora,Flaburgan/diaspora,KentShikama/diaspora,Amadren/diaspora,Flaburgan/diaspora,Muhannes/diaspora,Amadren/diaspora,jhass/diaspora,KentShikama/diaspora,diaspora/diaspora,despora/diaspora,spixi/diaspora,Amadren/diaspora,spixi/diaspora,KentShikama/diaspora,Muhannes/diaspora,diaspora/diaspora,SuperTux88/diaspora,geraspora/diaspora,Muhannes/diaspora,Amadren/diaspora,Flaburgan/diaspora,jhass/diaspora,diaspora/diaspora,KentShikama/diaspora,geraspora/diaspora,spixi/diaspora,SuperTux88/diaspora,jhass/diaspora,Muhannes/diaspora,SuperTux88/diaspora,diaspora/diaspora,despora/diaspora,despora/diaspora