Check archive name instead of os family when extracting it.