Not throwing errors for no 404 template defined

And making rubocop happy