Adding rescue clause for failed CI task

Prevent the generator from failing if it is unable to remove a test
factory.

HYDRASIR-417 #close

JIRA References:
https://jira.duraspace.org/browse/HYDRASIR-417
https://jira.duraspace.org/browse/HYDRASIR-275
Merge pull request #486 from projecthydra/fix/HYDRASIR-417

Adding rescue clause for failed CI task