Fix problem with redundant object name in --keys