Fix amazon init if sgPorts param is missing