lunokhod: refactor with debug.getinfo

equivalent of Python idiom: __name__ == "__main__"