Reorder - make repo dir before credentials file

Otherwise the credentials file has nowhere to live.