Fixes git reference issue