Fix Bug not being able to set attachmentBasePath.
Merge pull request #286 from lennart0901/master

Bug: Not able to set attachmentBasePath