add sanity check on scm_url