Fixing unexpected absolute path bug

os.path.join lets the rightmost path with a slash prefix
be interpreted as the de facto absolute path to return