review code style in packagefile contrller

#130 work in progress
Merge pull request #142 from joomla-projects/130c

review code style in packagefile contrller