Add extension directory check in ExtensionCommand/BaseCommand