Do not fetch owned paths if there's no valid account
Do not fetch owned paths if there's no valid account

Additionally, fall back to account_id if account.email is not set.

Release-Notes: skip
Change-Id: Ia696727118d4dc4e0b764d81633ccb9e90e0aa4f

GerritCodeReview/plugins_code-owners,GerritCodeReview/plugins_code-owners,GerritCodeReview/plugins_code-owners,GerritCodeReview/plugins_code-owners