Fixes broken build when building not from git repository