import correct ResourceNotFound exception
Merge pull request #2456 from dimagi/resourcenotfound

import correct ResourceNotFound exception