Fix possible issue in Input->set_cookie()

Fix for the case that:
- config item missing, because of outdated config.php
- and config_item() returning NULL on missing item (planned change)