Hi
History versions ot a package have a timestamp in the searchpath but not the current one.
I would try to get the version from the model itself. If you have a suitable value in the model.xml, which is 1:1 in the contentstore, you can use this one. This is just a little xml parsing to make your decision.
Greetings