fix bug with semver command

                    
|Q             |A  |
|------------|----------|
|Bug Fix?:     |y  |
|New Feature?: |n  |
|BC Breaks?:   |n  |
|Deprecations?:|n  |
|Tests Pass?:  |n  |
|Fixed Tickets:| #199   |
|License:      |MIT|
|Doc PR:       |   |
                    

patched but will create ticket for test