Also register imports to rtrees (which are not generated) as dependencies