Failing if metric resource returns 404, making Output class comparable

The latter is needed to display only nonassociated outputs for a stream
in the web interface.