Fix to pmem/tmp-issues#2

Signed-off-by: Lukas Redynk <lukasz.redynk@intel.com>