closes #234 by adding condition for when there are no applications
Merge pull request #549 from denimgroup/bugfix-tfgh234-cli-tpp-commands-fails

closes #234 by adding condition for when there are no applications