Fixed a bug when getting managed runtime version of an application pool.