Make the 'py' command work post-target-refactor.