Fixed gitignore-file in core