fixed pkg rev version in returning values in other paths