Adding equality to pinning on environment (required by Chef Server v11, fixes #760)