I notice this code in plugins/images/lib/mediaitem.py (several places including line 475)
self.load_full_list(self.manager.get_all_objects(ImageFilenames, order_by_ref=ImageFilenames.file_path), initial_load=initial_load, open_group=parent_group)
pyDev flags file_path as 'Undefined variable from import'!