Add directories filter for getAllMigrationNames