Fix a typo

This caused the Rsrc class to never set itself to production mode