[piernik] Bugfix for 3ff38c0. import from gravity module has to be conditional