Fix bug with plexus-utils > 3.0.5
Remove unnecessary conditionals