Actually, it looks like it needs to be put in a `try {} catch`. It'll either return the directory or null if it didn't have to do anything *or* it will throw if something went wrong. I'll change that.