Typo fix
Fix command line parsing fix
Remove useless self
Simplify base detection
Simplify selection of release_type
Simplify product class detection