Make the module work with the latest (1.0?) version of Magit