Fix condition for path without quotes