Bug 965105: Cannot delete application

https://bugzilla.redhat.com/show_bug.cgi?id=965105

This was caused by trying to delete the psql history file. If the user has never used psql directly from the command line this file would not exist. Changed the functionality to use find instead, which will only try to remove existing files.