Shouldn't it just raise an exception if it doesn't work, rather than blindly returning RA=0 and DEC=0 (seems kind of arbitrary).