Ignore bare git repo in package build directory

latest commit 75b096c9a2
@EtiennePerot authored