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.