fix double replacement of /app/app when the root of app for heroku being app contains a rails app which has a app folder