ENH: Report an error when an app is called directly