TAJO-948: 'INSERT INTO' statement to non existence table casuses NPE

The cause is there is no part to check if the table instance is null before it's used.

Please review if the changeset is appropriate.

Thanks.