Refactored handleParameters function in chidley.go

Changed the second `if` block to `if else` instead since only one of the two will ever be true at one time. Also removed the return statement `return nil` from each block since the return statement of the function is already `return nil`.