Fixed the regex to strip arch from kernel