pyxdg-open-git: python-magic is optional dependency