Fixed error messages for invalid contrib keys.  Addresses issue #1372