Fix IOError issue introduced in #14, Clone repo before loading settings