Fixed API query for wiki extension dependencies

Change-Id: I8c8c6552c6b11ee71d5e34b6bf8655554c5da43d