Honor submodules=disable as before (fixes #38)

Restore functionality of submodule handling after rewrite.

Signed-off-by: Jan Blunck <jblunck@infradead.org>