Checking if glob returns an array (related to issue #56)