Avoid Package['curl'] if already defined for node

Currently, when Package['curl'] is already defined for the node, this will throw errors. My commit fixes that.