When setting custom-resource-path, append a '/' if not already part of it - since this is expected to be a directory.