Fixed XML Dockinfo issue

Fixed XML Dockinfo issue due to template copying, now uses system(3) to
get version of MI running not system(2) which returned version complied
against.