fix bug where files not in the extensions directory might be included when you load an extension
fix bug where files not in the extensions directory might be included when you load an extension

ccampbell/sonic,ccampbell/sonic