agent: removed unnecessary check for empty string tags file