In media permission, isMediaInRestrictedFolder(), check folder exist before access his property
Merge branch 'master/chiba2' of git://github.com/novius-os/core into master/chiba2
Merge branch 'master/chiba2' into master/dubrovka