conditions for running gruntserver were incorrect

causing memory problems in vboxheadless