[minor/bug] fix version format change in agent upgrade regex