Bug 965364 - ApplicationRepository#deploy assumed template application e...

...xisted

* Put guards and messaging in place for use case where cartridge did not provide application template