unconfigure-module script disables also the module
added parentheses in upgrade condition