improved performance of getting server platform and architecture from image