Refactor SkyQuery.__getattr__()

Reduced to a single return statement