Send git errors to /dev/null to enable compilling without git