Update gitignore to have only /dir/ with trailing slash