chdir should return the value of the action