Support Rake 10.1.0

current_scope returns Rake::Scope instead of Array since Rake 10.1.0.