tests: Fixed compilation error

Remotes-only version uses nodes_data->directory which accidently
was disabled by #ifdef