Change tar of key to basename