Fix gitlab_url in shell config template and fix dest for gitlab config.yml
Add necessary directories and set permissions