:: when running SPM triggers, catch RepositoryError exceptions :: improve database file availability prior to removal check