Fix relative path not working (don't replace '.' with working dir ourselves).