If bug_version is a string, don't truncate it otherwise return the first element only

Fixes #22