remote: correctly interpret tagopt '--tags'

When tagopt is set to '--tags', we should only take the default tags
refspec into account and ignore any configured ones.

Bring the code into compliance.
Merge pull request #1557 from carlosmn/tagopt

remote: correctly interpret tagopt '--tags'