Upgrade relative path handling