fix a minor bug when detecting server image flavor

* The function _detect_server_image_flavor has a parameter 'server_id',
* but does not use it (instead, it uses server_id of the class)

Change-Id: I94d46877a67c79035e4ecf3da9abc0156803f2b3
Merge "fix a minor bug when detecting server image flavor"