reverted old cleaning behavior

when it didn't warn you about trying to remove a file that wasn't
there. Also, really fixed the relative import bug