lazily load the entries list for local packages
ENDOFCLASS must be passed as an argument of class action script, not as an input