AUI-1003 Use process.cwd() for paths

More explanations on Jira ticket.