If from the showing made by the petition for habeas corpus it be manifest that the person by whom, or on whose behalf, it is presented is not entitled to any relief thereby, the judge or chancellor may refuse to grant the writ, indorsing on the application his reason therefor.