Fix a bug where pool name and not pool device is being used while mounting a share.