add-submodules: Provide clearer feedback.
add-submodules: Refactor to reduce indentation.
add-submodules: Reliably detect the origin URL.

Previously I assumed the URL would be the next line after the origin section
heading.  Sometimes it isn't.