fixing another issue found in https://github.com/CodeSleeve/asset-pipeline/issues/131