fixed sub hash and added file and directory check
fixed sub hash and added file and directory check

MBRG/otrs,rudy500/otrs,s7design/otrs,crythias/otrs,xhoy/otrs,thorsteneckel/otrs,capeit-tto/otrs,PortgasDAce/otrs,PortgasDAce/otrs,s7design/otrs,nilei/otrs,vlascoder/otrs,eliasp/otrs,StCyr/otrs,crythias/otrs,thorsteneckel/otrs,capeit-tto/otrs,s7design/otrs,muehlbauer/otrs,moritz/otrs,balazj/otrs,moritz/otrs,linearregression/otrs,muehlbauer/otrs,muehlbauer/otrs,thorsteneckel/otrs,MBRG/otrs,vlascoder/otrs,linearregression/otrs,linearregression/otrs,thorsteneckel/otrs,balazj/otrs,capeit-tto/otrs,eliasp/otrs,mbeijen/otrs-1,linearregression/otrs,oiami/otrs,StCyr/otrs,mbeijen/otrs-1,StCyr/otrs,brandonshults01/otrs,eliasp/otrs,oiami/otrs,brandonshults01/otrs,mburggraf/otrs,PortgasDAce/otrs,PortgasDAce/otrs,muehlbauer/otrs,oiami/otrs,muehlbauer/otrs,nilei/otrs,eliasp/otrs,moritz/otrs,StCyr/otrs,brandonshults01/otrs,balazj/otrs,s7design/otrs,oiami/otrs,noritnk/otrs,mburggraf/otrs,xhoy/otrs,oiami/otrs,mbeijen/otrs-1,s7design/otrs,mburggraf/otrs,nilei/otrs,brandonshults01/otrs,moritz/otrs,crythias/otrs,mburggraf/otrs,mburggraf/otrs,PortgasDAce/otrs,eliasp/otrs,xhoy/otrs,crythias/otrs,rudy500/otrs,MBRG/otrs,noritnk/otrs,balazj/otrs,nilei/otrs,rudy500/otrs,linearregression/otrs,moritz/otrs,rudy500/otrs,nilei/otrs,MBRG/otrs,xhoy/otrs,crythias/otrs,StCyr/otrs,xhoy/otrs,brandonshults01/otrs,MBRG/otrs,noritnk/otrs,balazj/otrs,vlascoder/otrs,rudy500/otrs,thorsteneckel/otrs