Update get_build_props.js

Used git rev-parse HEAD to pick out and massage parameters
Merge pull request #2352 from mgolinelli/patch-1

Update get_build_props.js