Fixed .gitignore. Code style fix for registry