Update submodules after fetching new repositories
Ensure that a branch is checked out instead of a tag
This fixes #1