Fix migration of ssh files

Fixes #611

Signed-off-by: Michal Čihař <michal@cihar.com>