Resolve a filesystem path, when expecting symlinks

Signed-off-by: Zoran Zaric <zz@zoranzaric.de>