Path-related bugfix for broken prior images.