Fix error during install of package

Fixes an error during installation of package if the project isn't under
source control.