Fix bug in AppNameCommand

where it would rename App\Exceptions\* to Acme\Exceptionss\*
Merge pull request #6737 from emilniklas/master

Fix bug in AppNameCommand