Run a bolt up from inside, then unscrew it after paint. Or, use a plastic/rubber plug from the inside. Or, just chase the threads with a tap after paint.