Fixed path normalization / checks when loading resource from komponent.