Raise 404 instead of returning None (exception)

this, in case of HEAD requests (made by
http://www.facebook.com/externalhit_uatext.php for example)
would raise 500 and generate an exception.