Fix grunt can't run grunt publish

Has this been tested?