propcache: Remove one unnecessary strdup().

By simply returning the already allocated value, we avoid an unnecessary
allocation, as the caller already copies the value anyway.
Merge pull request #238 from rburchell/master

propcache: Remove one unnecessary strdup().