Fix for remote src path resolution