hosts/bsd: don't execute shell for sudo commands [GH-2808]