[Bugfix] Quoted $target to handle spaces.