Fixing changed default behavior of bower when directory is 'undefined'.

See example in 'sample-minimal'

Maybe also called 'workaround'