Refactoring PathCompatibility check. Only one method still remains in TemporaryPathSpec