Forgot to wrap the company dir check in an if.

Now it seems to work.