Git: Avoid fetching if the refspec is a git commit id
Git: Avoid fetching if the refspec is a git commit id

Change-Id: Icc15645a72f4cb7ff87ba321223909f61c441337
Reviewed-by: Matt Bennett <e3d8681cec70d3da741935b3385821001b249adc@alliedtelesis.co.nz>
Signed-off-by: Ridge Kennedy <c60c433c4c1ae237d133641099200771ff6f6f30@alliedtelesis.co.nz>

ATL-NZ/buildsyspp,alliedtelesis/buildsyspp