Fix sshkey fact for usernames with dashes or dots

Without this, the facts cannot be used in puppet code as variable names may not contain these characters.