remove unused scons function
only report git metadata for git checkout builds