Fixed freeder's untested code to check paths for correct repo. Converted all tabs to spaces (indentation got messed up each pull)