Fixed issue with automatic HipChat configuration.

This fixes an issue where the template attempts to configure a HipChat room in .travis.yml even when no API key or HipChat room were provided.