Prevent exception by no extension logical_path

see https://github.com/sstephenson/sprockets/issues/347
Merge pull request #64 from grauwoelfchen/prevent-exception-by-no-ext-logical-path-for-sprockets

Prevent exception by no extension logical_path