Improve Code Climate score

Avoid using `rescue` in its modifier form.