Constraint qualification in the invex case