Issue #53: Handle exceptions while looking for resources