Obtain projects' path in drush_get_projects() and abstract code that relied in _pm_find_common_path().