do not delete app unless its really empty
Merge pull request #1773 from rajatchopra/bz919379

Merged by openshift-bot