Only tag existing files

Fixes #3088