Ensure that configuration object cannot be assigned to non-hash value