git submodule: Fix adding of submodules at paths with ./, .. and //