Hostname handling for updatekeys

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>