Fix default filter function "SurferProjectFilter"

Current faulty behavior: when the project root is empty (there is no
project root) not tag is being filtered
Minor refactoring
Move code around
Fix log message