Update bootstrap-management.sh

* fixed curl argv order
* fixed detection of wget and curl