kconfig: add check if end exists in extract-ikconfig