Fix a bug where setting a relative consent directory path would cause a crash.