Adding a check for $container-max-width. If it is set to "none," then no {max-width:…} is emitted to the CSS.