lua: Do not try to inject globals when they are not present.

Signed-off-by: Tusa Viktor <tusavik@gmail.com>
Merge pull request #28 from talien/fix/lua-missing-globals

lua: Do not try to inject globals when they are not present.