Make sure Chef version parsing works even with sudo prompts

If knife solo issues a password to sudo there's an extra `\r\n` in front
of the output.

Fixes #183.