Fixing bug in ssl check for source creation