Fixes CommandNotFoundException that occured when started from within a directory whose name contains a space.