Traced error in imagepath

The imagepath variable was pointing to a local folder, therefore
generating an exception when trying to create an Issue.