Did you tested this? I think current dir variable should be null, because you modified install path.