minor error message improvement
Eliminate context.appDir. Introduce requiresApp.