commands.c: Allow spaces before a command

Fix suggested by kaste.