Add a default value to the provided exists() code

If there is no default value, errors are thrown when code expecting to use the original exists() use it without a value.