Fix Utils specs on Mac OS X

These tests failed on OS X because the `/var` directory which contains
the temp directory the specs use is a symlink to `/private/var`, and so
the prefix of the expected and actual resolved paths were different.

Change-Id: Id09eff7ac5b0545ad8b89ebd22daaf49e423ba46
Reviewed-on: http://gerrit.causes.com/44655
Tested-by: jenkins <jenkins@brigade.com>
Reviewed-by: Shane da Silva <shane.dasilva@brigade.com>