fixed crash (nil error) when reading available extensions

- 3.1.76
@lslezak We need a bug report, including #nr. Release managers need to evaluate whether this should go to Beta 9 - or at least know about the issue (whether it's applicable to the current B 9 candidate).