and fix error handling - the "do we have an --ipalloc-range?" check was not performed in all required cases