Fix bug in gulp if stsatement