Fix 'submoudle add' treats --name argument as repository
simplify `submodule add` implementation