Temporary hack to make abipy compatible with new version of pymatgen.units