Fix rev-list when showing objects involving submodules