Fix get settings when acting on alias

See #608

Related to #588