Bug: Not able to set attachmentBasePath

This little patch fixes this