add check for circular dependency

@tfoote @wjwwood Please review.
Updated to print:

    COMMAND_NAME verb: exception