Check that there are command line args before accessing