Resolves sync_folders issue that hostname is set to key path

Resolves #90