Added additional checks for removing development configuration.