run of 'puppet resource alternative_entry' fails

Problem is there is no @resource when running puppet resource alternative_entry from a CLI. Puppet then doesn't know about resources but only inspects local system. This solves the issue for both cases (resource or system inspection).