Fix check for null assembly descriptor