fixes #3790 - Added support for isolated engine to foreman menu
Fixes #3753 - always use main_app to determine paths for running an isolated namespace plugin