Clean up relative path handling