PCT-808: Proper handling of error when PT is not in the path
+ tested if this changes in the future