Remove undefined objs from gulp array