Fix path resolution for predefined XDR variables