Changed regex to match https urls so https deploy works

Original regex was matching from //github section of https urls to end of url during deploy,
causing the site's root directory and theme resource paths to be wrong.