Improve cleanup for TRAMP projects