Fix nill/null value of IPList

Initialize IPList to an empty array if the IPList is nil/null.