Use active pane item for path
Use active pane item for path

Previously the active view was used to obtain the path.

The ImageView does not provide a path and was causing an
exception to be thrown when getPath was called on it
unguarded.

Closes #568

alfredxing/atom,fang-yufeng/atom,splodingsocks/atom,sekcheong/atom,YunchengLiao/atom,basarat/atom,yomybaby/atom,SlimeQ/atom,me-benni/atom,Austen-G/BlockBuilder,john-kelly/atom,Huaraz2/atom,yomybaby/atom,h0dgep0dge/atom,brumm/atom,deepfox/atom,kdheepak89/atom,abcP9110/atom,transcranial/atom,h0dgep0dge/atom,elkingtonmcb/atom,deepfox/atom,avdg/atom,0x73/atom,sekcheong/atom,jeremyramin/atom,alexandergmann/atom,anuwat121/atom,Sangaroonaom/atom,AdrianVovk/substance-ide,acontreras89/atom,dijs/atom,gabrielPeart/atom,n-riesco/atom,Jandersolutions/atom,bcoe/atom,gontadu/atom,KENJU/atom,ppamorim/atom,fredericksilva/atom,johnhaley81/atom,GHackAnonymous/atom,Jandersolutions/atom,seedtigo/atom,tjkr/atom,gisenberg/atom,jlord/atom,daxlab/atom,mostafaeweda/atom,Hasimir/atom,scippio/atom,helber/atom,yangchenghu/atom,CraZySacX/atom,Klozz/atom,ironbox360/atom,jtrose2/atom,execjosh/atom,abcP9110/atom,githubteacher/atom,dsandstrom/atom,jacekkopecky/atom,charleswhchan/atom,devoncarew/atom,chfritz/atom,devoncarew/atom,Abdillah/atom,scippio/atom,jtrose2/atom,rmartin/atom,ardeshirj/atom,fredericksilva/atom,qiujuer/atom,abe33/atom,Shekharrajak/atom,davideg/atom,GHackAnonymous/atom,toqz/atom,splodingsocks/atom,pkdevbox/atom,constanzaurzua/atom,constanzaurzua/atom,targeter21/atom,Austen-G/BlockBuilder,Jonekee/atom,devmario/atom,ReddTea/atom,tanin47/atom,mostafaeweda/atom,BogusCurry/atom,jordanbtucker/atom,Hasimir/atom,ashneo76/atom,liuderchi/atom,0x73/atom,fredericksilva/atom,n-riesco/atom,pengshp/atom,toqz/atom,001szymon/atom,mrodalgaard/atom,ezeoleaf/atom,RuiDGoncalves/atom,Rodjana/atom,constanzaurzua/atom,Jdesk/atom,basarat/atom,oggy/atom,basarat/atom,FIT-CSE2410-A-Bombs/atom,FoldingText/atom,ashneo76/atom,johnhaley81/atom,codex8/atom,harshdattani/atom,rmartin/atom,mnquintana/atom,dkfiresky/atom,targeter21/atom,kandros/atom,ilovezy/atom,hharchani/atom,ivoadf/atom,kandros/atom,vinodpanicker/atom,me6iaton/atom,CraZySacX/atom,Dennis1978/atom,bcoe/atom,ali/atom,abe33/atom,Dennis1978/atom,amine7536/atom,omarhuanca/atom,kdheepak89/atom,001szymon/atom,isghe/atom,ilovezy/atom,codex8/atom,acontreras89/atom,Neron-X5/atom,johnrizzo1/atom,fredericksilva/atom,palita01/atom,FoldingText/atom,amine7536/atom,dijs/atom,Arcanemagus/atom,burodepeper/atom,lovesnow/atom,tony612/atom,Andrey-Pavlov/atom,daxlab/atom,gisenberg/atom,mertkahyaoglu/atom,jacekkopecky/atom,hpham04/atom,YunchengLiao/atom,vjeux/atom,me6iaton/atom,ardeshirj/atom,Huaraz2/atom,liuderchi/atom,anuwat121/atom,darwin/atom,Mokolea/atom,stinsonga/atom,splodingsocks/atom,russlescai/atom,svanharmelen/atom,ivoadf/atom,pombredanne/atom,nvoron23/atom,boomwaiza/atom,rlugojr/atom,kc8wxm/atom,lovesnow/atom,RobinTec/atom,hagb4rd/atom,hharchani/atom,devoncarew/atom,SlimeQ/atom,jlord/atom,hellendag/atom,Rodjana/atom,Ju2ender/atom,t9md/atom,acontreras89/atom,oggy/atom,Dennis1978/atom,bryonwinger/atom,russlescai/atom,matthewclendening/atom,dannyflax/atom,Jandersolutions/atom,phord/atom,CraZySacX/atom,crazyquark/atom,xream/atom,Neron-X5/atom,hpham04/atom,deoxilix/atom,jlord/atom,Shekharrajak/atom,Andrey-Pavlov/atom,davideg/atom,Jandersoft/atom,Jandersolutions/atom,fang-yufeng/atom,Arcanemagus/atom,GHackAnonymous/atom,decaffeinate-examples/atom,t9md/atom,dkfiresky/atom,fscherwi/atom,hakatashi/atom,florianb/atom,russlescai/atom,decaffeinate-examples/atom,paulcbetts/atom,ObviouslyGreen/atom,MjAbuz/atom,batjko/atom,AlisaKiatkongkumthon/atom,fredericksilva/atom,brettle/atom,kandros/atom,Galactix/atom,Neron-X5/atom,bcoe/atom,Abdillah/atom,PKRoma/atom,lpommers/atom,basarat/atom,jjz/atom,dannyflax/atom,hagb4rd/atom,sekcheong/atom,001szymon/atom,Ingramz/atom,ReddTea/atom,rsvip/aTom,dsandstrom/atom,chengky/atom,medovob/atom,panuchart/atom,yamhon/atom,isghe/atom,Arcanemagus/atom,decaffeinate-examples/atom,gabrielPeart/atom,sebmck/atom,jacekkopecky/atom,medovob/atom,liuxiong332/atom,Ju2ender/atom,champagnez/atom,execjosh/atom,beni55/atom,davideg/atom,bolinfest/atom,andrewleverette/atom,MjAbuz/atom,tmunro/atom,niklabh/atom,cyzn/atom,synaptek/atom,phord/atom,nvoron23/atom,synaptek/atom,Klozz/atom,bencolon/atom,kjav/atom,GHackAnonymous/atom,me6iaton/atom,hakatashi/atom,devmario/atom,john-kelly/atom,Jdesk/atom,vinodpanicker/atom,Austen-G/BlockBuilder,elkingtonmcb/atom,abcP9110/atom,darwin/atom,kjav/atom,rookie125/atom,githubteacher/atom,liuxiong332/atom,charleswhchan/atom,RobinTec/atom,G-Baby/atom,jjz/atom,hagb4rd/atom,Abdillah/atom,einarmagnus/atom,sillvan/atom,devoncarew/atom,rlugojr/atom,pombredanne/atom,NunoEdgarGub1/atom,nvoron23/atom,boomwaiza/atom,acontreras89/atom,rsvip/aTom,kdheepak89/atom,RuiDGoncalves/atom,nucked/atom,dannyflax/atom,ezeoleaf/atom,lpommers/atom,scippio/atom,NunoEdgarGub1/atom,chfritz/atom,RuiDGoncalves/atom,kc8wxm/atom,SlimeQ/atom,fedorov/atom,hpham04/atom,ppamorim/atom,codex8/atom,kdheepak89/atom,dsandstrom/atom,jacekkopecky/atom,ali/atom,brettle/atom,me6iaton/atom,qskycolor/atom,sotayamashita/atom,charleswhchan/atom,hellendag/atom,vhutheesing/atom,darwin/atom,mostafaeweda/atom,tisu2tisu/atom,tony612/atom,hagb4rd/atom,h0dgep0dge/atom,vjeux/atom,Jdesk/atom,Ingramz/atom,erikhakansson/atom,lisonma/atom,me-benni/atom,chengky/atom,KENJU/atom,KENJU/atom,vhutheesing/atom,Jandersoft/atom,jjz/atom,Galactix/atom,rlugojr/atom,Neron-X5/atom,mnquintana/atom,YunchengLiao/atom,batjko/atom,kjav/atom,vinodpanicker/atom,rsvip/aTom,wiggzz/atom,vcarrera/atom,kevinrenaers/atom,john-kelly/atom,mertkahyaoglu/atom,Locke23rus/atom,harshdattani/atom,florianb/atom,Mokolea/atom,yalexx/atom,bryonwinger/atom,Locke23rus/atom,prembasumatary/atom,kjav/atom,qskycolor/atom,omarhuanca/atom,bj7/atom,toqz/atom,deepfox/atom,FIT-CSE2410-A-Bombs/atom,qiujuer/atom,kdheepak89/atom,einarmagnus/atom,deepfox/atom,Andrey-Pavlov/atom,panuchart/atom,panuchart/atom,abcP9110/atom,woss/atom,nucked/atom,transcranial/atom,mnquintana/atom,palita01/atom,crazyquark/atom,medovob/atom,charleswhchan/atom,targeter21/atom,yomybaby/atom,fedorov/atom,0x73/atom,Sangaroonaom/atom,omarhuanca/atom,batjko/atom,prembasumatary/atom,bradgearon/atom,Jdesk/atom,batjko/atom,Shekharrajak/atom,ilovezy/atom,crazyquark/atom,qskycolor/atom,jjz/atom,codex8/atom,g2p/atom,me6iaton/atom,xream/atom,AlisaKiatkongkumthon/atom,G-Baby/atom,Rodjana/atom,sekcheong/atom,hpham04/atom,tmunro/atom,basarat/atom,wiggzz/atom,qiujuer/atom,boomwaiza/atom,vcarrera/atom,Ju2ender/atom,execjosh/atom,kittens/atom,originye/atom,yamhon/atom,ironbox360/atom,n-riesco/atom,efatsi/atom,qiujuer/atom,mertkahyaoglu/atom,decaffeinate-examples/atom,yangchenghu/atom,rmartin/atom,rsvip/aTom,liuxiong332/atom,dsandstrom/atom,g2p/atom,paulcbetts/atom,jacekkopecky/atom,Shekharrajak/atom,bsmr-x-script/atom,AlexxNica/atom,kc8wxm/atom,matthewclendening/atom,florianb/atom,stinsonga/atom,BogusCurry/atom,NunoEdgarGub1/atom,qiujuer/atom,sillvan/atom,prembasumatary/atom,stuartquin/atom,lisonma/atom,bolinfest/atom,githubteacher/atom,ObviouslyGreen/atom,kevinrenaers/atom,YunchengLiao/atom,isghe/atom,ali/atom,rxkit/atom,seedtigo/atom,vcarrera/atom,hharchani/atom,RobinTec/atom,erikhakansson/atom,alfredxing/atom,0x73/atom,BogusCurry/atom,vinodpanicker/atom,tanin47/atom,xream/atom,abcP9110/atom,Jandersoft/atom,scv119/atom,Galactix/atom,alexandergmann/atom,g2p/atom,crazyquark/atom,john-kelly/atom,mnquintana/atom,FIT-CSE2410-A-Bombs/atom,gisenberg/atom,yalexx/atom,dijs/atom,sxgao3001/atom,NunoEdgarGub1/atom,ObviouslyGreen/atom,dkfiresky/atom,phord/atom,mdumrauf/atom,Jandersolutions/atom,helber/atom,cyzn/atom,bradgearon/atom,AlbertoBarrago/atom,johnrizzo1/atom,yalexx/atom,originye/atom,AlbertoBarrago/atom,mertkahyaoglu/atom,AlisaKiatkongkumthon/atom,folpindo/atom,rmartin/atom,lovesnow/atom,russlescai/atom,Huaraz2/atom,ashneo76/atom,yalexx/atom,bryonwinger/atom,bolinfest/atom,kittens/atom,beni55/atom,codex8/atom,tmunro/atom,scv119/atom,fang-yufeng/atom,ironbox360/atom,pengshp/atom,isghe/atom,mnquintana/atom,svanharmelen/atom,alexandergmann/atom,AlexxNica/atom,Ju2ender/atom,woss/atom,hharchani/atom,synaptek/atom,basarat/atom,FoldingText/atom,lovesnow/atom,burodepeper/atom,kittens/atom,lisonma/atom,Abdillah/atom,fedorov/atom,davideg/atom,MjAbuz/atom,yomybaby/atom,niklabh/atom,G-Baby/atom,devmario/atom,ralphtheninja/atom,bryonwinger/atom,tisu2tisu/atom,originye/atom,fscherwi/atom,gzzhanghao/atom,DiogoXRP/atom,liuxiong332/atom,bcoe/atom,brumm/atom,oggy/atom,Austen-G/BlockBuilder,jtrose2/atom,devmario/atom,SlimeQ/atom,yangchenghu/atom,tony612/atom,devoncarew/atom,nucked/atom,kaicataldo/atom,lisonma/atom,ezeoleaf/atom,hellendag/atom,omarhuanca/atom,matthewclendening/atom,dannyflax/atom,AlexxNica/atom,vcarrera/atom,toqz/atom,acontreras89/atom,Jdesk/atom,jordanbtucker/atom,nvoron23/atom,matthewclendening/atom,alfredxing/atom,prembasumatary/atom,woss/atom,jeremyramin/atom,oggy/atom,RobinTec/atom,andrewleverette/atom,chfritz/atom,NunoEdgarGub1/atom,helber/atom,vjeux/atom,ilovezy/atom,sxgao3001/atom,sillvan/atom,tisu2tisu/atom,ReddTea/atom,Austen-G/BlockBuilder,rjattrill/atom,stuartquin/atom,synaptek/atom,nrodriguez13/atom,hagb4rd/atom,jjz/atom,rjattrill/atom,FoldingText/atom,fang-yufeng/atom,rmartin/atom,rxkit/atom,constanzaurzua/atom,gabrielPeart/atom,FoldingText/atom,sxgao3001/atom,nvoron23/atom,mostafaeweda/atom,kittens/atom,folpindo/atom,vhutheesing/atom,niklabh/atom,ReddTea/atom,nrodriguez13/atom,efatsi/atom,bencolon/atom,sotayamashita/atom,brumm/atom,avdg/atom,sekcheong/atom,dannyflax/atom,pombredanne/atom,tjkr/atom,gisenberg/atom,omarhuanca/atom,amine7536/atom,toqz/atom,DiogoXRP/atom,amine7536/atom,ezeoleaf/atom,Abdillah/atom,kevinrenaers/atom,russlescai/atom,paulcbetts/atom,amine7536/atom,Ju2ender/atom,AlbertoBarrago/atom,pombredanne/atom,Rychard/atom,liuderchi/atom,lpommers/atom,Shekharrajak/atom,kjav/atom,Hasimir/atom,lovesnow/atom,atom/atom,sebmck/atom,dannyflax/atom,palita01/atom,n-riesco/atom,woss/atom,h0dgep0dge/atom,vcarrera/atom,einarmagnus/atom,fscherwi/atom,ali/atom,vinodpanicker/atom,fedorov/atom,bsmr-x-script/atom,Rychard/atom,sillvan/atom,hpham04/atom,kittens/atom,Sangaroonaom/atom,efatsi/atom,deepfox/atom,pkdevbox/atom,nrodriguez13/atom,yomybaby/atom,matthewclendening/atom,Galactix/atom,DiogoXRP/atom,mostafaeweda/atom,Hasimir/atom,ppamorim/atom,tony612/atom,KENJU/atom,stuartquin/atom,bencolon/atom,mdumrauf/atom,beni55/atom,hakatashi/atom,florianb/atom,Rychard/atom,stinsonga/atom,RobinTec/atom,brettle/atom,liuderchi/atom,fedorov/atom,PKRoma/atom,ali/atom,chengky/atom,tanin47/atom,MjAbuz/atom,batjko/atom,liuxiong332/atom,svanharmelen/atom,sotayamashita/atom,folpindo/atom,ivoadf/atom,jlord/atom,Andrey-Pavlov/atom,transcranial/atom,john-kelly/atom,champagnez/atom,gontadu/atom,Jandersoft/atom,cyzn/atom,t9md/atom,andrewleverette/atom,abe33/atom,elkingtonmcb/atom,burodepeper/atom,ralphtheninja/atom,charleswhchan/atom,ykeisuke/atom,ppamorim/atom,KENJU/atom,constanzaurzua/atom,rsvip/aTom,yalexx/atom,anuwat121/atom,rxkit/atom,gisenberg/atom,bj7/atom,jacekkopecky/atom,bj7/atom,sebmck/atom,dkfiresky/atom,jtrose2/atom,targeter21/atom,ykeisuke/atom,vjeux/atom,devmario/atom,Jonekee/atom,gzzhanghao/atom,Locke23rus/atom,Andrey-Pavlov/atom,deoxilix/atom,tony612/atom,erikhakansson/atom,ilovezy/atom,ReddTea/atom,mertkahyaoglu/atom,Jandersoft/atom,pengshp/atom,dkfiresky/atom,sxgao3001/atom,MjAbuz/atom,bsmr-x-script/atom,crazyquark/atom,mrodalgaard/atom,Klozz/atom,gontadu/atom,ppamorim/atom,kaicataldo/atom,sebmck/atom,jtrose2/atom,sillvan/atom,yamhon/atom,woss/atom,Galactix/atom,ardeshirj/atom,bradgearon/atom,kc8wxm/atom,Neron-X5/atom,johnhaley81/atom,PKRoma/atom,jeremyramin/atom,champagnez/atom,kaicataldo/atom,rookie125/atom,sebmck/atom,mdumrauf/atom,einarmagnus/atom,atom/atom,wiggzz/atom,dsandstrom/atom,vjeux/atom,fang-yufeng/atom,atom/atom,gzzhanghao/atom,rookie125/atom,rjattrill/atom,qskycolor/atom,synaptek/atom,ralphtheninja/atom,chengky/atom,FoldingText/atom,paulcbetts/atom,scv119/atom,bcoe/atom,avdg/atom,Mokolea/atom,jlord/atom,florianb/atom,Jonekee/atom,GHackAnonymous/atom,tjkr/atom,pkdevbox/atom,Austen-G/BlockBuilder,seedtigo/atom,hharchani/atom,Ingramz/atom,qskycolor/atom,AdrianVovk/substance-ide,splodingsocks/atom,deoxilix/atom,jordanbtucker/atom,rjattrill/atom,pombredanne/atom,davideg/atom,isghe/atom,stinsonga/atom,mrodalgaard/atom,scv119/atom,n-riesco/atom,ykeisuke/atom,prembasumatary/atom,sxgao3001/atom,lisonma/atom,chengky/atom,YunchengLiao/atom,AdrianVovk/substance-ide,hakatashi/atom,einarmagnus/atom,harshdattani/atom,Hasimir/atom,oggy/atom,kc8wxm/atom,daxlab/atom,targeter21/atom,SlimeQ/atom,johnrizzo1/atom,me-benni/atom