check app directory for scaffold templates

Checks the application directory for scaffolding templates before throwing an exception.