Fix typo in error when pushing undefined