<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _x_get_physical_path(self):
 """Generate the physical path """

        path = self.context.getPath()
        portal_path = api.get_path(api.get_portal())
        if portal_path not in path:
            return "{}/{}".format(portal_path, path)
        return path