Backport assets path fix from photo-finder. Closes #271.