Fix the check and error message for an existing DUB package in the selected root.