Use magic instead of trying to check rpm header. For #168.