Fix stupid bug is isBranchWithImporter()