Add tests for openstack release setting, cleanup for install_type switch

Add tests and cleanup code for picking action based on install type selection