Only populate tags in main file list

Moved populateTags to be done on the main file list.
This prevents the public file list to go through the same code and cause
an error when there is no user.
Merge pull request #12935 from owncloud/public-tagsmanagerissue

Only populate tags in main file list