Check length of argv before accessing it