Added validation to the command if we are running sudo

I can't think of anything bad about this. We have certainly hit this a number of times when we don't have the full path, and we get sudo spam.

I supposed there might be other people out there who don't have such strict sudo policies, but seems like good practice to ask that every command that needs sudo should be absolute.