Fix corner case that may include cruft ROS releases from ditribution upgrades as brought out by @mayanks43