#184: not show link when submodule does not exist
#184: small refactoring according to Alexander's comment, added comments
Merge pull request #186 from abf/rosa-build:184-undefined-method-gsub
 #184: NoMethodError: undefined method `gsub' for nil:NilClass