Add tests for openstack release setting, cleanup for install_type switch

Add tests and cleanup code for picking action based on install type selection
While it's obvious to me why you are doing this, maybe a small comment would be in order here ("This is to inject testing classes more easily" or something)