[MNG-5158] Make loading of extensions from lib/ext more robust with regard to existence of ext directory