Expand base dir to avoid exception from Pathname

The bug would appear when using the value of
`Rubocop::ConfigLoader::DOTFILE` as the command line argument for the
`-c` flag.