[packaging] fix building from git