That line looks perfectly fine as a shell command. Perhaps $_ ends in a newline, or $new_disk is not in the format that you expect. Try
changing the system operator to a simple print to ensure that the command
line you are handing the shell is what you think it is.