Issue with variable paths

It has happened in many “For each file in folder” activities:

This is the variable:

Again, sometimes it works and it enters the activity, sometimes it doesn’t.