we may have the situation when the application is not cached. Consequently, we have to check the existance of the application in the cache