Autogen: prevent ClassNotFoundException from being needlessly thrown

Should fix metadata pages not being updated as in http://ci.openmicroscopy.org/job/BIOFORMATS-5.0-latest-docs-autogen/255/.