Fix truncate volume using GFAPI.

We didn't take into consideration that a volume could be located in a
subdir.