fix path issue in Capfile before update and init submodules