support https option for contrail repo (default still ssh)