Fix bad failure handling on GetResource