Add missing check for exts before copying in exts_all.