Changed the code that cleans up the old nightly releases from