rcm: add post-up hook for loading submodules