fix config search to actually use current working directory