[PATCH 11/24] qconfig: Move checking directory to the top