Finish renaming to pirate.
Split finding config dirs into separate method.