Fix detection of rpm arch type