[TASK] Tiny code cleanup in ext_emconf

Change-Id: Ic2d8e7bbe02f8731a1a694ddd38c35867249b81b