Fix patch path/cmd