Cache current working directory to speed up Rubocop
This saves thousands of getcwd()
system calls and improves the
performance of running Rubocop, which is also used by HAML linting.
https://gitlab.com/gitlab-org/gitlab-styles/merge_requests/26 will also be needed.