execution: extract check for alternative jre; check for working directory (IDEA-77754)