Add some checks around barman_key fact to avoid warnings when the module is not used