Update condition to make the logic clearer
Add test case MakeRelativePath06