persp-get-by-name will sometimes return the value of `persp-not-persp' (by default this is the symbol :nil) rather than actual nil when a persp doesn't exist.