get submodules working in all cases
Merge pull request #2585 from danmcp/master

Merged by openshift-bot