[PATCH] utils: Canonicalize paths before comparing them