Try to remove cache only if it is present

Try to remove the cache, only if it is present.