Throw error on Submodules repo

Show an error message if a user tries to clone a repository containing sub-modules.
Fixes #1386 
@devoncarew