resolves chrome packaged app case: http://rtsys.informatik.uni-kiel.de/jira/browse/KIPRA-1397