Fixed build when not on git branch