Fix main function without arguments
Fix main function without arguments

When the tool is installed, the entry point script doesn't receive any
arguments. Hence the main function must work without them.

jcollado/pic2map,jcollado/pic2map,jcollado/pic2map