JBTM-1823 Updated to support providing an scm revision if scm is not present
Removed references to buildScmBranch as this is not required for git