Fix bug referencing 'workdir' when not defined