Fixing clean and smudge to work when not at toplevel of repo