Added two checks in order to make websumbit happy with latest mod_python.
Added two checks in order to make websumbit happy with latest mod_python.

inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio