The latest preview release supports relative paths (start with a period) to generate the items used in Command-P window. When the path is relative it will be executed relative to the current focus item. I think that should give the behavior that your want.