Fixed error condition if no app file is sent.