fix a bug, when add project , scm url is None