Added "bare" options for username and hostname 

These changes are required to fix #74 - otherwise, they throw a KeyError when using the "bare" option.