Add function to get package version using underscore separator