bcfg2-crypt: fixed deprecation warning