Fixed missing variable definitions in PhotoController.list_() method.