Fix unit test to reflect change
Fix unit test to reflect change

- Order of the checks was reversed so that the directory
  warning was not dead code (directories are not regular files)

Signed-off-by: Christopher M. Cantalupo <9cf3ecca60a3dd7112ab0e7250bedb8a752e3958@intel.com>

geopm/geopm,geopm/geopm,cmcantalupo/geopm,cmcantalupo/geopm,geopm/geopm,geopm/geopm,geopm/geopm,cmcantalupo/geopm,cmcantalupo/geopm,cmcantalupo/geopm