fixing bad get_version util

Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>