extract & build: improve handler skipping
extract: fix resolving of unknown basis namespace