Bug 1033572

Use git ref default logic for both 'git push' and RESTful deployments