Add logic to skip closing the Nexus staging repo