Replace imports to subpackages with their git equivalents