Commit hash replacement now works properly