Revert "Kill get_version hack"

get_version is necessary on < 2.7 because dependencies are used.

This reverts commit e0993dcf8dc38462604e38d7a31b80d3880e696b.