Fixes heroku pushes for submodules by flattening