Only call strtoul when there is an argument that strtoul can work on