refs: remove some unnecessary handling of submodule == ""