Added exception if submodules have not been initialized