Loading work packages except when it's an html request.

Plays nice with the patched respond_to method in the plugin.