catch error when trying to delete a non-existent config file