fixed crash (nil error) when reading available extensions

- 3.1.76