activate: multiple improvements related to cache

Search for plain project name first as we should normally hit cache,
and if not it is probably a path; update cache only when name is not a
path; remove extra list