Update get_build_props.js

Used git rev-parse HEAD to pick out and massage parameters